package day20180128.testProxyStatic;

/**
 * Created by 14394 on 2018/1/28.
 */
public class ILoginImpl implements ILogin {

    @Override
    public void login() {
        System.out.println("登陆系统.....");
        try {
            Thread.sleep(3200);

        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("登陆成功!");
    }

    @Override
    public void logout() {

        System.out.println("退出系统.....");
        try {
            Thread.sleep(2000);

        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("退出成功!");
    }
}
